







[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Convert this collection of items by applying a delegate to each item in the collection. The resulting enumeration
contains the result of applying converter to each item in this collection, in
order.
Namespace: Wintellect.PowerCollections
Assembly:
PowerCollections (in PowerCollections.dll)
Syntax
C# |
---|
public virtual IEnumerable<TOutput> ConvertAll<TOutput>( Converter<T, TOutput> converter ) |
Visual Basic (Declaration) |
---|
Public Overridable Function ConvertAll(Of TOutput) ( _ converter As Converter(Of T, TOutput) _ ) As IEnumerable(Of TOutput) |
Visual C++ |
---|
public: generic<typename TOutput> virtual IEnumerable<TOutput>^ ConvertAll ( Converter<T, TOutput>^ converter ) |
Parameters
- converter
- Converter<(Of <T, TOutput>)>
A delegate to the method to call, passing each item in this collection.
Return Value
An IEnumerable<TOutput^gt; that enumerates the resulting collection from applying converter to each item in this collection in order.
Type Parameters
- TOutput
- The type each item is being converted to.
Exceptions
Exception | Condition |
---|---|
System..::ArgumentNullException | converter is null. |
See Also
CollectionBase<(Of <T>)> Class
Wintellect.PowerCollections Namespace